import {
    HomeOutlined ,
    TeamOutlined,
    UserOutlined,
    FileSearchOutlined,
    WechatOutlined ,
    HddOutlined,
    CloudServerOutlined,
    AlertOutlined,
    GroupOutlined,
    CloudDownloadOutlined,
    ApartmentOutlined,
    UsergroupAddOutlined,
} from '@ant-design/icons';
const Menus = [
    {
        key: 'home',
        link: '/home',
        iconType: HomeOutlined ,
        text: '监控分析',
        hasSubMenu:false,
    }, {
        key: 'alarm',
        link: '/alarm',
        iconType: AlertOutlined ,
        text: '告警统计',
        hasSubMenu:false,
    }, {
        key: 'history',
        link: '/history',
        iconType: CloudServerOutlined,
        text: '历史数据',
        hasSubMenu:false,
    },{
        key: 'devModel',
        link: '/devModel',
        iconType: CloudServerOutlined,
        text: '设备',
        hasSubMenu:true,
        subMenu:[
            {
                key: 'devModel',
                link: '/devModel',
                iconType: ApartmentOutlined,
                text: '设备模型',
                hasSubMenu:false,
            }, {
                key: 'devGroup',
                link: '/devGroup',
                iconType: GroupOutlined,
                text: '设备组管理',
                hasSubMenu:false,
            }, {
                key: 'device',
                link: '/device',
                iconType: HddOutlined,
                text: '设备管理',
                hasSubMenu:false,
            }
        ]
    },{
        key: 'mpUser',
        link: '/mpUser',
        iconType: WechatOutlined,
        text: '用户',
        hasSubMenu:true,
        subMenu:[
            {
                key: 'customer',
                link: '/customer',
                iconType: UsergroupAddOutlined,
                text: '客户组',
                hasSubMenu:false,
            },{
                key: 'mpUser',
                link: '/mpUser',
                iconType: WechatOutlined ,
                text: '小程序用户',
                hasSubMenu:false,
            },{
                key: 'role',
                link: '/role',
                iconType: TeamOutlined,
                text: '角色',
                hasSubMenu:false,
            }, {
                key: 'user',
                link: '/user',
                iconType: UserOutlined,
                text: '用户',
                hasSubMenu:false,
            }
        ]
    }, {
        key: 'log',
        link: '/log',
        iconType: FileSearchOutlined,
        text: '日志',
        hasSubMenu:false,
    }, {
        key: 'backup',
        link: '/backup',
        iconType: CloudDownloadOutlined ,
        text: '数据备份',
        hasSubMenu:false,
    }
];
// const Menus = [
//     {
//         key: 'home',
//         link: '/home',
//         iconType: HomeOutlined ,
//         text: '监控分析',
//     }, {
//         key: 'alarm',
//         link: '/alarm',
//         iconType: AlertOutlined ,
//         text: '告警统计',
//     }, {
//         key: 'history',
//         link: '/history',
//         iconType: CloudServerOutlined,
//         text: '历史数据',
//     },{
//         key: 'devModel',
//         link: '/devModel',
//         iconType: ApartmentOutlined,
//         text: '设备模型',
//     }, {
//         key: 'devGroup',
//         link: '/devGroup',
//         iconType: GroupOutlined,
//         text: '设备组管理',
//     }, {
//         key: 'device',
//         link: '/device',
//         iconType: HddOutlined,
//         text: '设备管理',
//     },{
//         key: 'mpUser',
//         link: '/mpUser',
//         iconType: WechatOutlined ,
//         text: '小程序用户',
//     },{
//         key: 'role',
//         link: '/role',
//         iconType: TeamOutlined,
//         text: '角色',
//     }, {
//         key: 'user',
//         link: '/user',
//         iconType: UserOutlined,
//         text: '用户',
//     }, {
//         key: 'log',
//         link: '/log',
//         iconType: FileSearchOutlined,
//         text: '日志',
//     }, {
//         key: 'backup',
//         link: '/backup',
//         iconType: CloudDownloadOutlined ,
//         text: '数据备份',
//     }
// ];

export default Menus;